/**
 * 
 */
package com.jushu.storbox.service;

import java.util.List;

import com.jushu.storbox.entities.FileFolderInfo;
import com.huawei.sharedrive.sdk.android.model.response.INodeShare;
import com.huawei.sharedrive.sdk.android.modelV2.response.INodeShareV2;


public interface ILocalShareINodeService extends ILocalService{
	/**
	 * 
	 * @param folderInfo
	 */
	public void insertFolderOrFile(INodeShareV2 nodeShare);
	
	/**
	 * 
	 * @param folderInfo
	 */
	public void updateFolderOrFile(INodeShare nodeShare);
	
	/**
	 * 
	 * @param folderId
	 * @return
	 */
	public List<FileFolderInfo> getFileList(String folderId,String ownerId);
	
	
	/**
	 * 
	 * @param folderId
	 * @return
	 */
	public void deleteFileOrFolder(String folderId,String ownerId);
	
	
	/**
	 * @param fileID
	 * @param ownerBy
	 */
	public FileFolderInfo getFileById(String fileID ,String ownerBy);
}
